<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>兑换</title>
<meta name="decorator" content="default" />
<meta name="full-screen" content="yes">
<meta name="viewport"
	content="width=device-width initial-scale=1.0  maximum-scale=1.0">
<%@ include file="/static/member/themes/ShiShangHong/header.jsp" %>
<script type="text/javascript">
		document.title = "积分兑换";
		
	</script>
<style>
body,.main{ background-color:#FFFFFF;}
</style>
</head>
<body>
	<%@ include file="./header.jsp" %>
	<div  class="main">
    	<div  class="p_mod o_address">
    		<h2  class="p_mod_title">积分商城</h2>
            <div  id="city">
    		<ul>
    			<li><strong>您当前的积分：<span  style="font-size:16px; color:#CC0000; font-family:Arial;">${wechatMember.score }</span></strong></li>
    		</ul>
            </div>
    	</div>
    	<div  class="o_btn clearfix">
    	</div>


</div>

        <div  data-role="page"  data-theme="a">
            
            <div  data-role="content">
                <p  class="plh pt10 red fz12 t_a_c pb10">
                    积分礼品列表，按规则达到积分即可兑换
                </p>
                <div  class="border_red"  style="margin-left: 0.8em; margin-right: 0.8em;">
                </div>
                <div  class="t_a_c"  style="margin-top: -2px;">
                    <img  src="${ctxStatic}/member/themes/ShiShangHong/images/img_jian.png">
                </div>
                <div  class="t_a_c">
                    <img  src="${ctxStatic}/member/themes/ShiShangHong/images/img_lip.png"  width="140"  height="71"  style="width: 7em; height: 3.5em;">
                </div>
                <div  class="p10"  id="product_list">
                <c:forEach items="${scoreExchangeList}" var="scoreEx">
                    <div  style="position: relative"  pid="4560">
                      
                            <table  width="100%"  border="0"  cellspacing="0"  cellpadding="0">
                                <tbody><tr>
                                    <td  align="left"  class="pic_td"  rowspan="2">
                                        <div  style="position: relative;">
                                            <div  class="pic">

                                                <a  href="${ctx}/member/toexchangepro/${uid}?wechatId=${wechatId}&ScoreExchangeId=${scoreEx.id}&style=${style}"  data-ajax="false">
                                                    <img   src="${ctxUser }/score/${scoreEx.showPic }" onerror="this.src='${ctxRoot}/images/zanwutupian.jpg'">

                                                </a>
                                            </div>

                                            <span  style="position: absolute; top: 0; left: 0; width: 7em; height: 7em;">
                                                <a  href="${ctx}/member/toexchangepro/${uid}?wechatId=${wechatId}&ScoreExchangeId=${scoreEx.id}&style=${style}"  data-ajax="false">
                                                    <img  src="${ctxStatic}/member/themes/ShiShangHong/images/lipin_bg.png">
                                                </a>
                                            </span>

                                        </div>
                                    </td>
                                    <td  colspan="2">
                                        <p  class="plh fz12 ml10">
                                        <a  href="${ctx}/member/toexchangepro/${uid}?wechatId=${wechatId}&ScoreExchangeId=${scoreEx.id}&style=${style}"  >
                                            <span  class="plh">${scoreEx.name } </span>
                                        </a>
                                        </p>
                                    </td>
                                </tr>
                                <tr>
                                    <td  align="left"  valign="top">
                                        <p  class="plh fz12 ml10"  style="color: #626262; height: 36px; overflow: hidden; margin-right: 5px">
                                          <br>兑换积分：<font  color="#CC0000">${scoreEx.score }</font>
                                        </p>
                                    </td>
                                </tr>
                            </tbody></table>
                       
                    </div>
                    <div  class="border_b">
                    </div>
                    </c:forEach>
            </div>
        </div>

</div>
<c:if test="${uid ne '34' }">
		<jsp:include page="/static/member/themes/default/footer.jsp">
			<jsp:param value="${uid }" name="uid"/>
		</jsp:include>
	</c:if>
</body>
</html>
